import Vue from 'vue'
import Router from 'vue-router'
import Home from "@/components/Home";
import List from "@/components/List";

Vue.use(Router)

export default new Router({
  mode:"history",
  routes: [
    {
      path: "/",
      redirect:"/home"
    },
    {
      path: "/home",
      component: Home
    },
    {
      path: "/list",
      component: List
    }
  ]

})
